package com.chanceit.ssss.activity;

import uk.co.senab.photoview.PhotoView;
import android.app.Activity;
import android.os.Bundle;
import android.text.TextUtils;

import com.nostra13.universalimageloader.core.ImageLoader;

public class ScaleImageActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
//		ScaleImageUrl
		String url = getIntent().getStringExtra("ScaleImageUrl");
		if (TextUtils.isEmpty(url)) {
			onBackPressed();
		}
		PhotoView mPhotoView = new PhotoView(this);
		ImageLoader.getInstance().displayImage(url, mPhotoView);
		setContentView(mPhotoView);
	}


}
